STEP 9: Time to use a turn command to make our sprite do a flip!

  • Go to and drag out Turn Left. Drop it at the bottom of your program.
  • Change the integer in the .turn_left() command to 360.

Remember, the number of degrees in a full circle is 360. The .turn_left() command turns the sprite a certain number of degrees.

To navigate the page using the TAB key, first press ESC to exit the code editor.

stage.set_background("concert") sprite = codesters.Sprite("person1") sprite.move_down(100) sprite.set_speed(3) sprite.flip_up_down() sprite.move_right(150) sprite.move_left(200) sprite.flip_up_down()
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)